const Mock = require("mockjs")
const Students = require("../models/students")
const result = Mock.mock({
    "datas|700": [{
        name: "@cname",
        birthday: "@date",
        "sex|1-2": true,
        mobile: /1\d{10}/,
        "ClassId|1-16": 0
    }]
}).datas
// 批量添加班级
//  console.log(result);

Students.bulkCreate(result)